package cc.yugu.yhdw.webserver.persistence.basic;

import cc.yugu.yhdw.common.domain.basic.RoleOper;
import cc.yugu.yhdw.common.persistence.MasterMapper;

import java.util.List;
/**
 * 角色信息
 *
 * @Date:Created in 2018/6/29 10:56
 * @Author:
 * @Modified By: zjn 2018/6/29 10:56
 */
public interface RoleOperMapper extends MasterMapper {
    /**
    * 根据角色id查询表bas_role_oper 中角色下级（ oper_id）
    *
    * @Param: [roleId]
    * @Return: java.util.List<java.lang.Integer>
    * @Author By: zjn 2018/6/29  10:56
    */
    public List<Integer> findAll(Integer roleId);
    /**
    * 插入数据
    *
    * @Param: [roleOper]
    * @Return: int
    * @Author By: zjn 2018/6/29  10:58
    */
    public int insert(RoleOper roleOper);
    /**
    * 根据角色id删除数据
    *
    * @Param: [roleId]
    * @Return: int
    * @Author By: zjn 2018/6/29  10:58
    */
    public int delete(int roleId);
}
